import Layout from '@/layout'

export default {
  path: '/transport',
  component: Layout,
  name: 'transport',
  redirect: '/transport/transport-task',
  meta: { title: '调度管理', icon: 'el-icon-s-help' },
  children: [
    {
      path: '/transport/transport-task',
      name: 'transport-task',
      component: () => import('@/views/transport/transport-task'),
      meta: { title: '运输任务管理' }
    },
    {
      path: '/transport/line-manage',
      name: 'line-manage',
      component: () => import('@/views/transport/line-manage'),
      meta: { title: '线路管理' }
    },
    {
      path: '/branches/pickUptask',
      name: 'pickUptask',
      component: () => import('@/views/transport/pickUptask'),
      meta: { title: '取件作业管理' }
    },
    {
      path: '/branches/dispatchTask',
      name: 'dispatchTask',
      component: () => import('@/views/transport/dispatchTask'),
      meta: { title: '派件作业管理' }
    }
  ]
}
